package edu.krazy.engine;

/**
 * @(#)Vertex3f.java
 *
 *
 * @author 
 * @version 1.00 2008/10/21
 */


public class Vertex2f {

	private float x,y;
	
    
    
    public Vertex2f(float[] v)
    {
    	x= v[0];
    	y = v[1];
    
    	
    }
    
    public Vertex2f(float a, float b)
    {
    	
    	x=a;
    	y=b;
    }
    public Vertex2f(Vertex2f v)
    {
    	x = v.getX();
    	y = v.getY();
    	
    
    }
    public float getX(){
    	
    	return x;
    }
    public float getY(){
    	
    	return y;
    }
    
   
    
    public void setX(float x1){
    	x = x1;
    }
    
    public void setY(float y1){
    	y = y1;
    }
    
   
}